def get_formatted_name(first,last,middle=''):
    """生成整个人名"""
    if middle:
        full_name = first+' '+middle+' '+last
    else:
        full_name = first+' '+last
    return full_name.title()

